﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeManagerForm.aspx.cs" Inherits="MVC.EmployeeManagerForm" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="page">
            <div class="top">
                <asp:DropDownList ID="DropDownListDepartments" runat="server"></asp:DropDownList>
                <asp:Button ID="ButtonSearch" runat="server" Text="查询" OnClick="Button1_Click" />
            </div>

        </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="Name" HeaderText="姓名" />
                <asp:BoundField DataField="Gender" HeaderText="性别" />
                <asp:BoundField DataField="Birthdate" DataFormatString="{0:dd/MM/yyyy}" HeaderText="出生日期" />
                <asp:BoundField DataField="Department" HeaderText="部门" />
            </Columns>
        </asp:GridView>
    </form>
</body>
</html>
